Returns the value of a DICOM element
public T GetValue<T>(
long tag,
T defaultValue,
GetValueDelegate getValueDelegate
)
Public Overloads Function GetValue(Of T)( _
ByVal tag As Long, _
ByVal defaultValue As T, _
ByVal getValueDelegate As Leadtools.Dicom.GetValueDelegate _
) As T
public:
T^ GetValuegeneric<typename T>
(
int64 tag,
T^ defaultValue,
Leadtools.Dicom.GetValueDelegate^ getValueDelegate
)
tag
tag of the item to find.
defaultValue
a value of type T that is returned if the actual value cannot be retrieved.
getValueDelegate
an optional delegate that converts that extracted data to any type
T
specifies the type of the value to return
a value of type T that is the value of the DICOM element
For information on this method, see GetValue.
For an example, refer to GetValueDelegate.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET